package com.gljx.web.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.gljx.web.Entity.SubjectThreeResultentry;
import org.springframework.stereotype.Component;

@Component
public interface SubjectThreeResultentryMapper {
    int deleteByPrimaryKey(String fid);

    int insert(SubjectThreeResultentry record);

    int insertSelective(SubjectThreeResultentry record);

    SubjectThreeResultentry selectByPrimaryKey(String fid);

    int updateByPrimaryKeySelective(SubjectThreeResultentry record);

    int updateByPrimaryKey(SubjectThreeResultentry record);

    /**
     * 根据父类id查找
     * @param parentid
     * @param studentName
     * @param cfexmaresult
     * @return
     */
    List<SubjectThreeResultentry>  selSubjectThreeResultentryByParentId(@Param("fid") String parentid,@Param("studentName")String studentName,@Param("cfexmaresult") String cfexmaresult);

    int deleteByParentId(String parentid);
}